package org.bigpigman.el.test;

import org.bigpigman.el.excel.ExcelField;
import org.bigpigman.el.excel.ExcelObject;

/**
 * @Description
 * @Author 朱咸军
 * @Date 2019/12/30
 **/
@ExcelObject
public class ComputerInfo {

    @ExcelField(titleName = "命名")
    private String id;
    @ExcelField(titleName = "资产编号")
    private String no;
    @ExcelField(titleName = "资产名称")
    private String name;
    @ExcelField(titleName = "规格型号")
    private String model;
    @ExcelField(titleName = "使用日期")
    private String date;
    @ExcelField(titleName = "使用部门")
    private String userDep;
    @ExcelField(titleName = "使用人")
    private String userName;
    @ExcelField(titleName = "MAC地址")
    private String macAddr;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getUserDep() {
        return userDep;
    }

    public void setUserDep(String userDep) {
        this.userDep = userDep;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getMacAddr() {
        return macAddr;
    }

    public void setMacAddr(String macAddr) {
        this.macAddr = macAddr;
    }

    @Override
    public String toString() {
        return "ComputerInfo{" +
                "id='" + id + '\'' +
                ", no='" + no + '\'' +
                ", name='" + name + '\'' +
                ", model='" + model + '\'' +
                ", date='" + date + '\'' +
                ", userDep='" + userDep + '\'' +
                ", userName='" + userName + '\'' +
                ", macAddr='" + macAddr + '\'' +
                '}';
    }
}
